<template>
    <editor-content :editor="editor" />
  </template>
  <script setup>
    import { useEditor, EditorContent } from "@tiptap/vue-3";
    import StarterKit from "@tiptap/starter-kit";
  
    const editor = useEditor({
      content: "<p>我正在使用 Vue.js 运行 Tiptap。🎉</p>",
      extensions: [StarterKit],
    });
  </script>
  